#!/bin/bash
 #cach' tao function thu 1
inramanhinh()
{
	echo "Hello World ^^!"
}
inramanhinh
 #cach' tao function thu 2
function inramanhinh1 #Len xuong' dong` ngoac. neu' khong se~ dua ra loi~
{
	echo  "Hello World 1 ^^! $1"
}
inramanhinh1 tandaica
 #cach' tao function thu 3
function inramanhinh2() #Len xuong' dong` ngoac. neu' khong se~ dua ra loi~
{
	echo "Script $0"
	echo  "Arg $1"
	echo "Arg $2"
	echo "All Args $*"
	echo "So' Args $#"
	Variable=$*
	return #co' hoac. khong co' return cung~ duoc. , return chi? dung  vi trong body phai? co' 1 command
}
inramanhinh2 tandaica0612 deptrai
echo $Variable

